import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

class SetPasswordByOldState implements Cloneable<SetPasswordByOldState> {
  TextEditingController oldPwdController = TextEditingController();
  TextEditingController newPwdController = TextEditingController();
  bool isLoading = false;

  @override
  SetPasswordByOldState clone() {
    return SetPasswordByOldState()
      ..oldPwdController = oldPwdController
      ..newPwdController = newPwdController
      ..isLoading = isLoading;
  }
}

SetPasswordByOldState initState(Map<String, dynamic> args) {
  return SetPasswordByOldState();
}
